import request  from "../utils/http/request";

//登录
export function login(params:any) {
    return request({
        url:`/userPermittion/login?phone=${params.phone}&code=${params.code}`,
        method:'post'
    })
}

//送验证码
export function sendCode(params:any) {
    return request({
        url:"/sendCode?phone="+params.phone,
        method:"post"
    })
}